import request from '@/utils/request'

export const getProListApi = (params) => request.get('/pro/list', {
  params,
  more: true
})
export const getProSearchListApi = (params) => request.post('/pro/searchPro', params, { silent: true })

export const updateProItemApi = (params) => request.post('/pro/updateFlag', params)
export const getProItemDetailApi = (proid) => request.get('/pro/detail', { params: { proid } })
export const getProCategoriesApi = (params) => request.get('/pro/getCategory')
